package com.bit.demo01;


import com.bit.demo01.TestDemo.Demo;

/**
 * @program: 2022.2.23 类和对象
 * @description:
 * @author: 李鑫月
 * @create: 2022-02-24 10:43
 **/
class A extends Demo {
    public int age;
    public void set(){
        System.out.println(super.val);
    }
}
public class Test {
    public static void main(String[] args) {
        A a=new A();
        a.set();
    }
}
